package com.autonavi.yunda.yunji.core.engine.javascript;

import lombok.Data;
import org.graalvm.polyglot.Value;

import java.util.Set;

@Data
public class JSFunctionContext {

    private Value function;
    private Set<String> paramsNames;
    private String script;

    public JSFunctionContext(Value function, Set<String> paramsNames, String script) {
        this.function = function;
        this.paramsNames = paramsNames;
        this.script = script;
    }
}
